import Styled from 'styled-components'

// 改方法返回一个组件
const Topdiv = Styled.div.attrs({
  border: '10px solid #ccc',
})`
  color: red;
  font-size: 50px;
  background-color: ${props => props.bgc};
  border: ${props => props.border}
`
export default Topdiv
